package Handlers;

import java.io.PrintWriter;

import javax.swing.JTextArea;

/**
 * @author Avishai Kopeliansky 
 * @ID 066717752
 * @author David Shimshon
 * @ID 038185617
 */
public abstract class AbsHandler {
	//Universal Msg AKA Broadcast
	protected final int _UMSG = 0;
	//Private Message
	protected final int _PMSG = 1;
	//System Message
	protected final int _SMSG = 2;
	//List State
	protected final int _ULIST = 3;
	protected int _STAT = -2 ;
	
	protected abstract void PMSender(String body, JTextArea jta);
	protected abstract void SMSender(String body, JTextArea jta);
	protected abstract void UMSender(String body, JTextArea jta);
	protected abstract void COSender(String body, PrintWriter pw, JTextArea jta);
	protected abstract void Stater(String header);

}

